import request from '@/utils/request'

// 查询填空题外键表列表
export function listFillingquestion(query) {
  return request({
    url: '/zzxx/fillingquestion/list',
    method: 'get',
    params: query
  })
}

// 查询填空题外键表详细
export function getFillingquestion(examinationId) {
  return request({
    url: '/zzxx/fillingquestion/' + examinationId,
    method: 'get'
  })
}

// 新增填空题外键表
export function addFillingquestion(data) {
  return request({
    url: '/zzxx/fillingquestion',
    method: 'post',
    data: data
  })
}

// 修改填空题外键表
export function updateFillingquestion(data) {
  return request({
    url: '/zzxx/fillingquestion',
    method: 'put',
    data: data
  })
}

// 删除填空题外键表
export function delFillingquestion(examinationId) {
  return request({
    url: '/zzxx/fillingquestion/' + examinationId,
    method: 'delete'
  })
}
